package Campus.help.task.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class orderInfoVo {
    @ApiModelProperty(value = "任务id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "任务类型")
    private Integer taskType;

    @ApiModelProperty(value = "任务内容")
    private String taskContent;

    @ApiModelProperty(value = "任务佣金")
    private BigDecimal taskCommission;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "订单状态(0.未支付,1.新建,2.进行中,3.完成,4.取消)")
    private Integer orderStatus;

    @ApiModelProperty(value = "任务图片")
    private String taskPicture;

    @ApiModelProperty(value = "发布者")
    private String publishUsers;

    private String avatar;

    @ApiModelProperty(value = "联系电话")
    private String phoneNumber;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "联系人")
    private String liaisonMan;

    @ApiModelProperty(value = "接单者")
    private Long receiverId;

    @ApiModelProperty(value = "接单者姓名")
    private String receiveUserName;

    @ApiModelProperty(value = "接单者手机号")
    private String receiveUserphoneNumber;

    private BigDecimal rateLimit;
}
